Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
CryptoMapSet Class Reference

CryptoMapSet holds and manipulates crypto map sets. More...

Public Member Functions

void setCryptoSetName (string)
 Sets the name of this crypto map set. More...
 
string getCryptoSetName ()
 Returns the name of this crypto map set. More...
 
void addCryptoMapSeqByNum (int)
 Adds a crypto map to this crypto map set with the specified sequence number. More...
 
void removeCryptoMapSeqByNum (int)
 Removes the crypto map from this crypto map set with the associated sequence number. More...
 
CryptoMapSeq getCryptoMapSeqAt (int)
 Returns the crypto map from this crypto map set at the specified index. More...
 
CryptoMapSeq getCryptoSeqByNum (int)
 Returns the crypto map from this crypto map set with the associated sequence number. More...
 
int getCryptoSeqCount ()
 Returns the number of crypto maps in this crypto map set. More...
 
bool isSeqExisted (int)
 Returns true if the crypto map with the associated sequence number exists in this crypto map, otherwise false. More...
 
int getFlowTableCount ()
 Returns the number of flow tables in this crypto map set. More...
 
FlowTable getTableAtIndex (int)
 Returns the flow table at the specified index. More...
 

Detailed Description

CryptoMapSet holds and manipulates crypto map sets.

Member Function Documentation

◆ addCryptoMapSeqByNum()

void CryptoMapSet::addCryptoMapSeqByNum ( int  )

Adds a crypto map to this crypto map set with the specified sequence number.

Parameters
num,thespecified sequence number for the crypto map.

◆ getCryptoMapSeqAt()

CryptoMapSeq CryptoMapSet::getCryptoMapSeqAt ( int  )

Returns the crypto map from this crypto map set at the specified index.

Parameters
index,theindex of the crypto map of interest.
Returns
CryptoMapSeq, the CryptoMapSeq object at the specified index.

◆ getCryptoSeqByNum()

CryptoMapSeq CryptoMapSet::getCryptoSeqByNum ( int  )

Returns the crypto map from this crypto map set with the associated sequence number.

Parameters
seqNum,thesequence number of the crypto map of interest.
Returns
CryptoMapSeq, the CryptoMapSeq object with the associated sequence number.

◆ getCryptoSeqCount()

int CryptoMapSet::getCryptoSeqCount ( )

Returns the number of crypto maps in this crypto map set.

Returns
int, the number of crypto maps in this crypto map set.

◆ getCryptoSetName()

string CryptoMapSet::getCryptoSetName ( )

Returns the name of this crypto map set.

Returns
string, the name of this crypto map set.

◆ getFlowTableCount()

int CryptoMapSet::getFlowTableCount ( )

Returns the number of flow tables in this crypto map set.

Returns
int, the number of flow tables in this crypto map set.

◆ getTableAtIndex()

FlowTable CryptoMapSet::getTableAtIndex ( int  )

Returns the flow table at the specified index.

Parameters
index,theindex of the flow table of interest.
Returns
FlowTable, the FlowTable object at the specified index.

◆ isSeqExisted()

bool CryptoMapSet::isSeqExisted ( int  )

Returns true if the crypto map with the associated sequence number exists in this crypto map, otherwise false.

Parameters
seqNum,thesequence number of the crypto map of interest.
Returns
bool, true if the crypto map with the associated sequence number exists in this crypto map, otherwise false.

◆ removeCryptoMapSeqByNum()

void CryptoMapSet::removeCryptoMapSeqByNum ( int  )

Removes the crypto map from this crypto map set with the associated sequence number.

Parameters
num,theassociated sequence number of the crypto map.

◆ setCryptoSetName()

void CryptoMapSet::setCryptoSetName ( string  )

Sets the name of this crypto map set.

Parameters
string,thename to set on this crypto map set.

The documentation for this class was generated from the following file: